package com.gxa.modules.sys.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.util.List;


@Data
@ApiModel("修改预约状态模型")
public
class MyOrderSetDto {
    @ApiModelProperty("预约座位id数组")
    List<Integer> ids;


    @TableField("id")
    @ApiModelProperty("订单id")
    Integer myorderId;

    @ApiModelProperty("订单号")
    String no;

    @ApiModelProperty("订单状态")
    Integer state;

    @ApiModelProperty("订单金额")
    Double money;

    @ApiModelProperty("卡券id")
    private Integer couponId;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("订单时间")
    @TableField("create_time")
    Date createTime;

    @TableField("seat_id")
    @ApiModelProperty("用户id")
    Integer userId;

    @ApiModelProperty("座位id")
    @TableField("seat_id")
    Integer seatId;


}
